package com.heatup.apt.common.dao;

import com.heatup.apt.model.DataDict;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.springframework.stereotype.Component;

/**
 *
 * DataDict 表数据库控制层接口
 *
 */
@Component
public interface DataDictMapper extends AutoMapper<DataDict> {

	/**
     * 根据dictType 查询 
     * @param dictType
     * @return
     */
	List<DataDict> queryDataDictByDictTypeAndStatus(@Param("dictType")String dictType,@Param("status")String status);
	
	List<DataDict> queryDataDictCodeByDictTypeAndStatus(@Param("dictType")String dictType,@Param("status")String status);
}